package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.student.pojos.PatentOwner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PatentOwnerMapper extends BaseMapper<PatentOwner> {

    List<Long> getPatentIdListByOwnerName(@Param("stuId") String stuId, @Param("patentOwnerNames") List<String> patentOwners);

    List<String> getPatentOwnerName(@Param("patentId") Long patentId);
}
